<?php

$this->pageTitle = 'Authors per topic';
$this->pageSummary = sprintf(
	'A collection of authors written about <strong>\'%s\'</strong>.',
	$this->topic
);
$this->navigationMenu()->addDefaultItems();
$this->actionBar()->addAction('Back to topics per author', sprintf($this->baseUrl('/page/author/topics/%s/'), $this->author));
$this->actionBar()->addAction('Visual overview of publications', sprintf($this->baseUrl('/page/author/graph/%s/'), $this->author));
$this->actionBar()->addAction('World map of publications', sprintf($this->baseUrl('/page/author/worldmap/%s/'), $this->author));
$this->actionBar()->addAction('Visualization of co authors', sprintf($this->baseUrl('/page/author/coauthors/%s/'), $this->author));

$this->navigation()->findById('author_index')->setLabel($this->author);
$this->navigation()->findById('author_index')->setParams(array('queryparam'=>$this->topic));

if(count($this->authors) == 0){
	echo 'No authors found';
}
else{
	foreach($this->authors as $author){		
		echo sprintf('<a href="%s">%s</a>',$author,$author).'<br/>';		
	}
} 
?>
  